package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@DbTable(tableName = "t_scenic")
public class Scenic extends BaseEntity {
        /**
     * 景点名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 景点编码
     */
    @DbTableField(columnName = "c_code", dbType = DbTypeEnum.VARCHAR)
    public String code ;

    /**
     * 片区id   t_extent.c_id
     */
    @DbTableField(columnName = "c_extent_id", dbType = DbTypeEnum.INTEGER)
    public Integer extentId ;

    /**
     * 片区
     */
    @DbTableField(columnName = "c_extent_name", dbType = DbTypeEnum.VARCHAR)
    public String extentName ;

    /**
     * 公园id 对应公园表t_park.c_id
     */
    @DbTableField(columnName = "c_park_id", dbType = DbTypeEnum.INTEGER)
    public Integer parkId ;

    /**
     * 公园
     */
    @DbTableField(columnName = "c_park_name", dbType = DbTypeEnum.VARCHAR)
    public String parkName ;

    /**
     * 标段ID
     */
    @DbTableField(columnName = "c_section_id", dbType = DbTypeEnum.INTEGER)
    public Integer sectionId ;

    /**
     * 标段名称
     */
    @DbTableField(columnName = "c_section_name", dbType = DbTypeEnum.VARCHAR)
    public String sectionName ;

    /**
     * 位置
     */
    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    /**
     * 坐标X
     */
    @DbTableField(columnName = "c_lng_bd09", dbType = DbTypeEnum.FLOAT)
    public Float lngBd09 ;

    /**
     * 坐标Y
     */
    @DbTableField(columnName = "c_lat_bd09", dbType = DbTypeEnum.FLOAT)
    public Float latBd09 ;

    /**
     * 坐标 wgs84 x
     */
    @DbTableField(columnName = "c_lng_wgs", dbType = DbTypeEnum.FLOAT)
    public Float lngWgs ;

    /**
     * 坐标 wgs84 y
     */
    @DbTableField(columnName = "c_lat_wgs", dbType = DbTypeEnum.FLOAT)
    public Float latWgs ;

    /**
     * 坐标大地2000X
     */
    @DbTableField(columnName = "c_lng_2000", dbType = DbTypeEnum.FLOAT)
    public Float lng2000 ;

    /**
     * 坐标大地2000Y
     */
    @DbTableField(columnName = "c_lat_2000", dbType = DbTypeEnum.FLOAT)
    public Float lat2000 ;

    /**
     * 坐标 gcj02 x
     */
    @DbTableField(columnName = "c_lng_gcj02", dbType = DbTypeEnum.FLOAT)
    public Float lngGcj02 ;

    /**
     * 坐标 gcj02 y
     */
    @DbTableField(columnName = "c_lat_gcj02", dbType = DbTypeEnum.FLOAT)
    public Float latGcj02 ;

    /**
     * 坐标 百度墨卡托 x
     */
    @DbTableField(columnName = "c_lng_bdmkt", dbType = DbTypeEnum.FLOAT)
    public Float lngBdmkt ;

    /**
     * 坐标 百度墨卡托 Y
     */
    @DbTableField(columnName = "c_lat_bdmkt", dbType = DbTypeEnum.FLOAT)
    public Float latBdmkt ;

    /**
     * 描述
     */
    @DbTableField(columnName = "c_desc", dbType = DbTypeEnum.VARCHAR)
    public String descs ;

    /**
     * 开放状态（0：正常开放，1：关闭）
     */
    @DbTableField(columnName = "c_status", dbType = DbTypeEnum.INTEGER)
    public Integer status ;

    /**
     * 设施编号 t_facilities.c_id
     */
    @DbTableField(columnName = "c_facilities_id", dbType = DbTypeEnum.INTEGER)
    public Integer facilitiesId ;


    @ApiModelProperty(value = "文件")
    private List<ScenicFile> fileList;

}
